Fix clippy failures for Rust 1.97#181
Merged
arctic-alpaca merged 13 commits intoJul 9, 2026
Merged
Conversation
Fix use of a paired map iterator when only the values are cared about. Signed-off-by: Rob Bradford <rbradford@meta.com> (cherry picked from commit 673d4a4)
Fix use of a paired map iterator when only the values are cared about. Signed-off-by: Rob Bradford <rbradford@meta.com> (cherry picked from commit c78497c)
Fix use of a paired map iterator when only the values are cared about. Signed-off-by: Rob Bradford <rbradford@meta.com> (cherry picked from commit 2a20f57)
Replace & in formatting arguments where it is already a reference (avoiding &&). Signed-off-by: Rob Bradford <rbradford@meta.com> (cherry picked from commit c10f237)
Replace & in formatting arguments where it is already a reference (avoiding &&). Signed-off-by: Rob Bradford <rbradford@meta.com> (cherry picked from commit c93677c)
Replace & in formatting arguments where it is already a reference (avoiding &&). Signed-off-by: Rob Bradford <rbradford@meta.com> (cherry picked from commit 7a386ec)
When formatting as hex the minimum format size is 4 not 2. Signed-off-by: Rob Bradford <rbradford@meta.com> (cherry picked from commit ead1094)
Inline the format argument rather than provide it as a parameter. Signed-off-by: Rob Bradford <rbradford@meta.com> (cherry picked from commit 85415cd)
Inline the format argument rather than provide it as a parameter. Signed-off-by: Rob Bradford <rbradford@meta.com> (cherry picked from commit 4d27640)
Replace use of redundant & (leading to &&) in format strings. Signed-off-by: Rob Bradford <rbradford@meta.com> (cherry picked from commit eca621c)
Replace format arguments with inlined versions. Signed-off-by: Rob Bradford <rbradford@meta.com> (cherry picked from commit 29f392f)
When formatting as hex the minimum format size is 4 not 2. On-behalf-of: SAP julian.schindel@sap.com Signed-off-by: Julian Schindel <julian.schindel@cyberus-technology.de>
Replace use of redundant & (leading to &&) in format strings. On-behalf-of: SAP julian.schindel@sap.com Signed-off-by: Julian Schindel <julian.schindel@cyberus-technology.de>
373036f
into
cyberus-technology:gardenlinux
19 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport clippy fixes from cloud-hypervisor#8282 and fix remaining issues.
With the release of Rust 1.97 today, those lints are making CI fail (https://github.com/cyberus-technology/cloud-hypervisor/actions/runs/29020654414/job/86126582787?pr=180)
Libvirt pipeline: https://gitlab.cyberus-technology.de/cyberus/cloud/libvirt/-/merge_requests/255
Fixes: https://github.com/cobaltcore-dev/cobaltcore/issues/629